package com.ytjj.qmyx.data.model.mongo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 *
 *  *
 **/
@Document(collection="product_day_statistics")
@Data
public class ProductDayStatistics {

    private String _id;

    private String dayTime;

    private Integer productId;

    private String productName;

    private Integer bankerId;

    private String activityType;

    private Integer isActivity;

    private String platform;

    private String channel;

    private Integer pv;

    private Integer uv;

    public ProductDayStatistics() {
    }

    public ProductDayStatistics(String dayTime, Integer productId, String productName, Integer bankerId, String activityType, Integer isActivity, String platform, String channel) {
        this.dayTime = dayTime;
        this.productId = productId;
        this.productName = productName;
        this.bankerId = bankerId;
        this.activityType = activityType;
        this.isActivity = isActivity;
        this.platform = platform;
        this.channel = channel;
        this.pv = 1;
        this.uv =1;
    }
}
